package com.itheima.dubbo.api;

import com.itheima.model.mongo.Friend;

import java.util.List;

public interface FriendApi {

    void save(Long userId, Long friendId);

    List<Friend> findByFriend(Long id, Integer page, Integer pagesize);

    void delete(Long userId, Long friendId);
}
